The first implementation of processfamily

Hopefully it will work.
I have fixed this.