add some jsdoc comments