changed setting vars to use set methods