implemented zip option for sqlite database