may need to change a way to use SQLite