integrated SP code for finish game (patricio)