added classes to excersice 3