initialize client