final version plot4