I didn't change them incorrectly, they were spot on. You're absolutely right that it should work, but for whatever reason, it isn't. I have exactly what you have down, but it's still not working. I'm trying to figure out, logically, how 2222 could end up with 1 correct and 2 out of place, and I'm ending up confused... It'd check the first 2, find that it is in %numbers, add 1 to %close, then remove a 2 from %numbers. But then, how would there still be a pair of 2's for it to tell me that there are 2 correct?