Wrote comments for jsdocs