work in progress on switching sqlite library