finished modification for learning