implemented model 2 int