An obvious optimization (thank you, Alien;))