added printing in