change pkgs to names