Added documentation to the cooldown functionality