added support for parent-child props