dealing with triggers