adding comments for each function containing return type and parameters