add draft of NewUIHandler