with in operator optimization