finished pg utility methods