completed assignment 2