case change for Ui interface to UI
Refactoring for further extensibility