added a trigger