Refactoring for IE