precedence for parents and bracs