add pg modifications