Found out how Process runs the function