check redundancies