moved over to SQLite fxnality