use parsed where to generate drop conditions