complete assignment 1.