added next() to usage example