closed container correctly