implemented model 2