param parent object check offspr nr children children object parent child count cond parent 