completed assignment1