nicer code + del container works