practice working with continue statements
revised formatting to match best practice; spaces, declaration of variables