Method for removing redundancy