modified to work with the way the fortune database is set up now. way cleaner
ignore arduino stuff