added cooldown timer to cooldownbar