params in the documentation here don't match the actual constructor parameters