breaking xor, init version, very simple