goal win detection works