final version of "winedb"