Completed assignment 8