wrapping this biatch in pg
Merge pull request #1 from ShaunBaker/master

Pulling Shaun's PG solution