XORI copy pasta problem