Removed old code from uiController