further debugging  on the DB, still not functional