more work on the dumpIt function