for package scan