better initialization of container