Added class notes and fixed nil teacher error