db read working