added in trigger support via an interesting hack