add code for sqlite core