Difference Between State And Path Functions