line 23: how does a lesser value manage to pass the condition?