add spec env, add model spec