結果 : state path function with suitable example