added package_ensure