modified output print
updated