     }
     
     // MARK: sending data
-    private func validToSend(player: Player) -> Bool {
+    private func isValidToSend(player: Player) -> Bool {
         return state.isMultiplayer
             && player.playerNumber == state.myPlayer.playerNumber
             && state.ownPlayerStillPlaying()

                state.updatePlayerScore(myPeerID, score: score)
                player.lost()
                
                if validToSend(player) {
                    sendPlayerLostData(score)
                }
                

        if player.playerNumber == state.myPlayer.playerNumber {
            player.fallBehind()
            player.becomeInvulnerable(timeStep)
            if isValidToSend(player) {
                sendCollisionData(player.xCoordinate)
            }
            // If player fell off the grid, he finished the race
