added single years to cdlFunc.R