read only mode added