added support for read-only rows