Simple refactoring to exclude continue operation