making the tests pass