preparing ui for refactoring