initial pg setup