remove dependency on sqlite3