adding plot4 stuff