Corrected the alternating magic number