結果 : give examples of state function and path function