query on a tree again