trying to debug the database