Introdced logical bug