correct forking process in example