move cdata2.c to cdata.c