change the go server function