interim commit. added a bunch of debugging info