Added NewPackage function