Tree selector working