improved xclient