better use of class instance variables that won't hit uninitialized constant problem