Record the learning step