db working version