adding in notes and code for class 2 and 3