added printing