Added a new databaseQuery function and fixed, refixed, and fixed one
more time the coffeeDone