createCourse(), make myMap global