return package name with declarations