graph to clear out container