get and set client