making it a one tree output