updated to the new target selector