added container generation code