A method for controlling a magnetic resonance imaging system to perform multislice imaging comprising the steps: - applying a pulse sequence (PS) designed for simultaneous excitation of at least two slices (S1, S2) with multi-band RF to the magnetic resonance imaging system , - applying in the course of the pulse sequence (PS) for measuring k-space lines either - an undersampled set of in-plane encoding signals (PE) in form of a set of phase encoding signals and a set of extended Hadamard encoding signals (HE) in an interleaved scheme in form of an execution loop (Li, Lo) having an inner loop (Li) where one set of signals is applied and an outer loop (Lo) where the other set of signals is applied, wherein concerning extended Hadamard encoding, the phase of a k-space line is shifted in more than two steps, or - a set of Hadamard encoding signals (HE) and a set of in-plane phase encoding signals (PE) in an interleaved scheme in form of an execution loop, wherein the set of in-plane phase encoding signals (PE) is applied in the outer loop (Lo) and the set of Hadamard encoding signals (HE) is applied in the inner loop (Li) of the execution loop (Li, Lo), - recording measured k-space lines of the excited slices as data. - applying a pulse sequence (PS) designed for simultaneous excitation of at least two slices (S1, S2) with multi-band RF to the magnetic resonance imaging system , - applying in the course of the pulse sequence (PS) for measuring k-space lines either - an undersampled set of in-plane encoding signals (PE) in form of a set of phase encoding signals and a set of extended Hadamard encoding signals (HE) in an interleaved scheme in form of an execution loop (Li, Lo) having an inner loop (Li) where one set of signals is applied and an outer loop (Lo) where the other set of signals is applied, wherein concerning extended Hadamard encoding, the phase of a k-space line is shifted in more than two steps, or - a set of Hadamard encoding signals (HE) and a set of in-plane phase encoding signals (PE) in an interleaved scheme in form of an execution loop, wherein the set of in-plane phase encoding signals (PE) is applied in the outer loop (Lo) and the set of Hadamard encoding signals (HE) is applied in the inner loop (Li) of the execution loop (Li, Lo), - recording measured k-space lines of the excited slices as data. - an undersampled set of in-plane encoding signals (PE) in form of a set of phase encoding signals and a set of extended Hadamard encoding signals (HE) in an interleaved scheme in form of an execution loop (Li, Lo) having an inner loop (Li) where one set of signals is applied and an outer loop (Lo) where the other set of signals is applied, wherein concerning extended Hadamard encoding, the phase of a k-space line is shifted in more than two steps, or - a set of Hadamard encoding signals (HE) and a set of in-plane phase encoding signals (PE) in an interleaved scheme in form of an execution loop, wherein the set of in-plane phase encoding signals (PE) is applied in the outer loop (Lo) and the set of Hadamard encoding signals (HE) is applied in the inner loop (Li) of the execution loop (Li, Lo), - recording measured k-space lines of the excited slices as data. <EOS>