complete assignment 3