added next & prev methods