new sqlite design