moved selectProperty method to tree