>>91のbase.cのstateとbefore_stateはprivate変数と同じだろ?