Adding in some trigger code.