Easy Way to Tree Recognition