improve plot
stale code cleanup