handle multiple targets passed from a selector