trying to make postgres work