added alternate method for determining victory