Updated identifyWin to deal with references.