finish step/chain logic