improved pplot