procedure section of CCDA generation had been commented out for testing... put it back