did some work on exercise5