Implemented model.