removed the reference to the scatter plot function