get rid of all redundancy