set up and use global clients