now printing out csv rows correctly