complete assignment 4