Moved results into plotting