Updated Child/Parent constructor sample