ripping out irrelevant bits