trying to get postgresql to work