change boundary condition and modify code!