instantiated a client