the server stuff