begin adding code gen model stuff