finished homework #5