added plot_currentsnake