add some JSDoc