move the required to higher in tree