Added the trigger class