set up client side