made changes to hps->hps2.