Need guidance on Timer/Delay Problems.

byte runXTimes = 1;

This looks to me like code that tells it how many times it should run...