implemented part of csv modality