settings function on base model modified so they can be set as well as retrieved