began setup of pg