using a simple way to get data to the client