writing from server.