added jsdoc captions