implemented new function to remove edits by score