saparate UI and worker