added print to see if we are stuck