adding batch plot