C2

Function Optimization tested.