almost there
cleaned up debug otput