copied to output tree