A device for delivery of electrical pulses to a desired tissue of a mammal, wherein the device comprises a pulse generating device and at least two needle electrodes configured to be arranged at the desired tissue of the mammal, wherein the pulse generating device is configured to be connected to the at least two needle electrodes , and wherein the pulse generating device comprises: - a determining module configured to determine a primary voltage amplitude of a first electrical pulse to be generated between the at least two needle electrodes , and to determine a number of consecutive electrical pulses to be generated; - a pulse generator in electrical communication with the at least two needle electrodes and configured to generate one or more of the determined number of consecutive electrical pulses such that the generated first electrical pulse has the primary voltage amplitude and that the one or more generated consecutive electrical pulses have a respective voltage amplitude consecutively decreasing between consecutively generated electrical pulses; and being characterized by: - a feedback module configured to determine a respective absorbed energy caused in the desired tissue of each one of the one or more generated electrical pulses having the respective voltage amplitude consecutively decreasing between consecutively generated electrical pulses and configured to send information relating to the determined respective absorbed energy, and possibly the respective generated electrical pulse, to a terminating module comprised in the pulse generating device , and by: - the terminating module being configured to determine a total absorbed energy based on the received information relating to the determined respective absorbed energy, to determine whether or not the total absorbed energy exceeds a desired threshold value, and to terminate generation of the one or more of the determined number of electrical pulses when a value of the total absorbed energy, caused in the desired tissue by the one or more generated electrical pulses, exceeds the desired threshold value. - a determining module configured to determine a primary voltage amplitude of a first electrical pulse to be generated between the at least two needle electrodes , and to determine a number of consecutive electrical pulses to be generated; - a pulse generator in electrical communication with the at least two needle electrodes and configured to generate one or more of the determined number of consecutive electrical pulses such that the generated first electrical pulse has the primary voltage amplitude and that the one or more generated consecutive electrical pulses have a respective voltage amplitude consecutively decreasing between consecutively generated electrical pulses; and being characterized by: - a feedback module configured to determine a respective absorbed energy caused in the desired tissue of each one of the one or more generated electrical pulses having the respective voltage amplitude consecutively decreasing between consecutively generated electrical pulses and configured to send information relating to the determined respective absorbed energy, and possibly the respective generated electrical pulse, to a terminating module comprised in the pulse generating device , and by: - the terminating module being configured to determine a total absorbed energy based on the received information relating to the determined respective absorbed energy, to determine whether or not the total absorbed energy exceeds a desired threshold value, and to terminate generation of the one or more of the determined number of electrical pulses when a value of the total absorbed energy, caused in the desired tissue by the one or more generated electrical pulses, exceeds the desired threshold value. <EOS>