Line 132 'or' corrected to 'xor'