removing irrelevant stuff