changed DB to sqlite3