finish server demo