Better way for defining branches