I actually gave both versions in the example below, but felt it was necessary to clarify what exactly this function is in the paragraph above.