with adding internal tree header file