update: moved delayFrame to Timer class as a method