get sqlite working