move csv parsing