changed to use targetText