rework pg objects