changed DB operator to fit PG