refactor variable names in cooldown listener