prework for adding folders