Triggers, Functions and notes