Simplify the continue statements