finished assignment 5