add support for nested views