define targets with attribute