refine the go performance.