index nd register from d
to roll back