fixing unique array helper
adding support for a cooldown progress bar