Comments added to functions
Comments added