switched from picke to sqlite3