updated jsDoc comment to reflect new arg passing