Smart branch