The generalization works now, I have must have some letters mixed up