This is the server side.