implemented all plots