moving ui_functionality in place