updated example to name.readonly = false