Triggers should keep all variables local