add initial version of retrigger code