looking at the model part of mvc