switches return value of class avg to hash and applies to survey show