Added implementation of the model