Comments added to functions