Middle of Match Algorythm work