compiling version, need to improve the fillTree functinality