Support for container sizes and different orientations
Reused new function to create containers