switching to sqlite database