moving output to root