setup pg for hrefficiency
hrefficiency works, fine tuning needed