accept input data list
generate ccc table as a header