added sqlite db support (not working)