se selected target cannot be empty? Then code is not needed.