in progress move to sqlite