A method by a terminal communicating with two base stations, the method comprising: identifying that a first physical random access channel, PRACH, transmission of the terminal on a first cell of a first base station is overlapped with a second PRACH transmission of the terminal on a second cell of a second base station in a time domain and a sum of transmission power determined for the first PRACH transmission of the terminal and transmission power determined for the second PRACH transmission of the terminal exceeds a maximum transmission power configured for transmissions overlapped in the time domain for a dual connectivity; performing the first PRACH transmission of the terminal on the first cell based on the transmission power determined for the first PRACH transmission; adjusting the transmission power determined for the second PRACH transmission and performing the second PRACH transmission of the terminal on the second cell based on the adjusted transmission power; in case that no random access response for the first cell is received for a first predetermined time, performing an increase of a number of a PRACH transmission for the first cell and performing a PRACH retransmission on the first cell based on a transmission power which is determined based on the number of the PRACH transmission for the first cell; characterized in that: in case that no random access response for the second cell is received for a second predetermined time, the method further comprises skipping an increase of a number of a PRACH transmission for the second cell and performing a PRACH retransmission on the second cell based on a transmission power which is determined based on the number of the PRACH transmission for the second cell. identifying that a first physical random access channel, PRACH, transmission of the terminal on a first cell of a first base station is overlapped with a second PRACH transmission of the terminal on a second cell of a second base station in a time domain and a sum of transmission power determined for the first PRACH transmission of the terminal and transmission power determined for the second PRACH transmission of the terminal exceeds a maximum transmission power configured for transmissions overlapped in the time domain for a dual connectivity; performing the first PRACH transmission of the terminal on the first cell based on the transmission power determined for the first PRACH transmission; adjusting the transmission power determined for the second PRACH transmission and performing the second PRACH transmission of the terminal on the second cell based on the adjusted transmission power; in case that no random access response for the first cell is received for a first predetermined time, performing an increase of a number of a PRACH transmission for the first cell and performing a PRACH retransmission on the first cell based on a transmission power which is determined based on the number of the PRACH transmission for the first cell; characterized in that: in case that no random access response for the second cell is received for a second predetermined time, the method further comprises skipping an increase of a number of a PRACH transmission for the second cell and performing a PRACH retransmission on the second cell based on a transmission power which is determined based on the number of the PRACH transmission for the second cell.