in progress: migration to sqllite