db working now