changed db to sqlite