incomplete, fixing sqlite