Adding methods for sqlite