assignment 5 + 6 + inclass excercise