xor finishd and demo file modified