problem: how is value 2 slip into the if condition?