Implemented draft version of play next functionality.