updated examples to include attributes in selector