added q, jsdoc and logger