add fields and datatypes