Implemented model 2