Modelling the learning process