PG integration phase 2