an example of a dynamic apex trigger system