Add branch macro