modified gem pg