has code for strtree