move doc from jsdoc