pg helper