ex26 db read

Implemented on my own first then used example.