First working prototype with next and previous methods.