fixed and finished win conditions