In that case I suggest saving variable inside each of the mcs which will have the same value as the number in the end of its name. Basically it is also possible to strip the name so only number remains, but it requires using substring and is not easiest way.