add some jsdocs comments