complete assignment 5