change basic server function