optimizer supporting where