Implemented simple model.