set up client