add spec for models