changing root functions to normal flags