iris=working! minor xor updates