add local-reset to then
add local-reset to then

anooying that 'repeat isnt quite possible with 'then as repeat needs to
the expirely time of the last step as input to init the first step.

cbaggers/temporal-functions