Clarification in function comment + minor formatting edits