have made another way to send data to client side