Need to integrate tree and letter frequency