added checks for wins(looks like shit)