got postgres working