removing redundancy.