incomplete changes, not working
hopefully debugged parallel mode is working...
rename @kids to @variants

add some comments
oops, remove debugging code