added index and timing to game