implement the trigger method to help test