export works as csv