Fixing backward logic