new function about branch added