add jsdoc stuff, but not working yet