Trigger function implement