comments and jsdoc changes