clean up of plots/ api breakdown