writing about 1500 lines of code for Server resp