issue #19 pg2sos more or less ready.