Finished assignment 8