Added additional debugging.