Started creating tree method