added cooldown for enemys