Completed assignment1