changed plotting stuff