added jsdoc headers