got all the tests to pass