move plotting stuff