now producing correct model file