UI Functions is now a constructor function
UI Functions is now a constructor function