Nextmap and Nextmode functionality added.