added more comments with descriptions of what needs to be done