now returns selected and trees to copy for display purposes.