added support for dumping data