include "equals" in the conditions