hanging while loop for Brad to help debug