adds support for nested pods