more jsdoc
rm unused function