removing irrelevant print