big fix, plotting as a parameter