Programed like it should and works good. Tried some aftermarket keys and they wouldn't program correctly (2 hours trying to make aftermarket keys work, plus another 1 1/2 hours deleting and reprograming OEM keys after all 6 slots got used up).
Needed replacement key fobs for our Grandson’s car and found these to be reasonably priced for a Factory Mazda fob so ending up buying two of them . Still waiting to get the keys cut and fob programmed to his car.