added a Model class