add readonly and alerts