added cc create-child utility function