expose pg for downstream access