changed to pg d/b