minor refactoring
rename 'nest' -> 'container'