Reduced and generalized code