store directories for later