looking at the model part of MVC