nextCodeWithCheck