remove server logic