added filtering nonnumerical categories