added pg as a dependency