updated code to get data type choices
generated source code