completed assignment 7