tidied up sequence pause/continue