Implementing hybrid triggers