removing showCooldown function