removed some plotting stuff