removed the comments from above the functions.\nThey were not needed.
added comments for the functions