removing irrelevant