Always forget that foutcsv takes an array silly