State Function Vs Process Functional Layout