completed assignment 6