Added make cdata function