added support for child containers