refactored the count not in decline method