modified to install one package