indentation on the --c is off. Should align with while

See earlier code snippets that I provided (not sure why you didn't just take one of those).