Added some debugging.