client side data sending thing