alpha version of sqlite implementation