completed assignment 1