added different trigger merging techniques