moved some functionality to the plot helper and experimenting