updates to use md container
update to use md container, removed old method