added youknowone's sqlite wrapper