Working on next() and prev()