debugging sqlite interactions