tested card register code