debugging triggerfactory logic