add some debug statements
keep track of hangs
another debug