remove plots
refactors