Changed categorical encoding