changed db to sqlite3