threads stage 1
addede root dir