changed mysql to sqlite3