adding in tree stuff