adding children in for perl client