finished homework 4