A terminal device for a dual connectivity handover, comprising: at least one processor; and at least one memory including computer program code, the at least one memory and computer program code configured to, with the at least one processor, carry out the following steps at the terminal device: receiving, from a source master network device, an indication (226, 324, 426, 522) of a first type of a target network device for the terminal device to be connected with in a first handover of the dual connectivity handover procedure, the first type indicating whether a network device is a master network device or secondary network device, the first type being determined by a target master network device; performing the first handover based on the indication of the first type of the target network device; and in response to being connected with the first type of the target network device, performing a second handover of the dual connectivity handover procedure, the terminal device being connected with a second type of a target network device and disconnected with the second type of a source network device in the second handover, the second type being different from the first type and indicating whether a network device is a master network device or secondary network device. at least one processor; and at least one memory including computer program code, the at least one memory and computer program code configured to, with the at least one processor, carry out the following steps at the terminal device: receiving, from a source master network device, an indication (226, 324, 426, 522) of a first type of a target network device for the terminal device to be connected with in a first handover of the dual connectivity handover procedure, the first type indicating whether a network device is a master network device or secondary network device, the first type being determined by a target master network device; performing the first handover based on the indication of the first type of the target network device; and in response to being connected with the first type of the target network device, performing a second handover of the dual connectivity handover procedure, the terminal device being connected with a second type of a target network device and disconnected with the second type of a source network device in the second handover, the second type being different from the first type and indicating whether a network device is a master network device or secondary network device. receiving, from a source master network device, an indication (226, 324, 426, 522) of a first type of a target network device for the terminal device to be connected with in a first handover of the dual connectivity handover procedure, the first type indicating whether a network device is a master network device or secondary network device, the first type being determined by a target master network device; performing the first handover based on the indication of the first type of the target network device; and in response to being connected with the first type of the target network device, performing a second handover of the dual connectivity handover procedure, the terminal device being connected with a second type of a target network device and disconnected with the second type of a source network device in the second handover, the second type being different from the first type and indicating whether a network device is a master network device or secondary network device.