some stuff on the CGE-style market model