allow using global client instance