add sqlite3 compatability