client setup