first stab at adding type crudification support and other type niceties