it overrides the plotting function so that we have time on the x-axis