before switching to sqllite