restore misplaced jsdoc; name those lambdas