adding exit status for each fork; new version