nice use of JSDoc here but why are the other private functions not documented as well?