Moved contained_item to its proper place