triggers are :
d1
d2 for a loop sequence