avoiding next statements