refactor name of model to Model