search and  undoingedits