The learning contract as core element of the personalized learning plan: from theory to practice