add JSDoc comments to all methods