added container removal functionality