replace process by reference straight to callback