implemented next correctly
implemented prev, remove is the only thing left.