chapter 9， deal with jump logic