modify class Trigger