update to order of attribute precedence