remove redundancy.