folding and inserting