got sqlite working