removed unused dump() statements. cleaner output