new variable probGrade
improved learn method