swapped for a dir