This entire if block can be moved into the one above it. If its a 10th second it will also be a 5th second. :P . We can use this observation even when we are coming up with different n'th seconds to raise messages at for the game.