refactoring of unknown closure.