almost have datatypes working.