added break in addition to continue