Finished homework07 need to add comments