started work on switching to PostgreSQL