a factorial function is probably of general use in a statistics library, so don't suggest it's private