got ex5 tests to pass