好好画图吧...state diagram