version 2

the interactions between sqlite are improved