working version of plot4