added numCoins and numLives