basic assembly for service on main and worker