receive the client's data