making existing test cases pass