need to add isEditable and isReadOnly