Added next and prev to traversing