edits to attribute precedence