more elegant jsdoc