record the learning process