PG setup