added printing of the structure