The new implementation with a kind of wrong logic.