corrosion code almost working.  trying to plot broke datetime