tree + global Time + remove function