Path Function And State Function Simple