changed loop init cool xor