refactor continuation
refactor continuation