Refactor down count array and functionality