added version to pg