added option readOnly