added next statements