wrote a bit of dump processing code