reverting pg stuff. maybe some day