tweaked code for "Go to this database"