Can you add JSDoc comments to these helper functions?