plot4 modified