making dumping much more useful/tested