make readOnly = true as default