removes redundant info