working on sqlite sample