answering the questiong of the assignment