Path Vs State Function Examples