made prioritizedLearn() persistent