adjusted gem to pg