added code to initialise checked triggers