Implemented model

Implemented model