modified the output of the selectiontool