removal of irrelevant things