making the model object use pointers to point