using the SQLite to save data