changed DB variable back to sqlite3