improved jsdoc