removed redundant print output