readOnly can now be set on the fly