Added getPackages Method