Do some tree stuff