updated CvD code for long term trends