changed worker to use rpc via Client interface