pulling
write to csv