add examples for attribute precedence