Deleted code duplication in find