Change getLesson to HashMap