all the tests pass, finally