Earlier version was passing the test, but was *wrong*