I don't know if $container is a good global name