add function procs and use fork to run in the background