added support for read-only pads