make class for dumping