I am confused looking at this. Does this pass the test cases?