implemented part of csv modailty