worked on sqllite db