get test suite passing
convert some defrecords to structs
convert additional records to structs