結果 : state function and state variable are same