rename fork; rename param to func; some doc fixes

check in test file too