moving rbbtable to be class variable, not instance variable