import branch code