basic PG setup