added two functions to the model
added a comment