removing all the irrelevant shit