removeRedundant