now it clears container first.