WIP: adding jsdoc