changed to server.receives