add client struct.