modify base model to use class instance variable