@nightshining draft program for dynamic sample triggering