changed a bunch of param names when documenting and I broke tests

forgot to change the names in a number of places - yeah unit testing!