use continue instread of goto