added support for read-only reads