deal with modality