trivial forks implemented
funtions for shared memory implemented