working excercise 1,2,3,4 required formating and comments