add 3.magic_index