dcnf

a line was missing causing it to get stuck in a while loop