Finished assignment 7