removed dependency on sqlite