Working on buildTree and method name fixes