add hnext and plot