move generator to root