implemented dump of structure