add readOnly property