some added functionality to ui