function buy(address recipient) payable public whenNotPaused {
        require(msg.value >= 0.1 ether);

        uint256 tokens =  rate.mul(msg.value);

        tokenContract.transferFrom(teamWallet, msg.sender, tokens);

        records[recipient] = records[recipient].add(tokens);
        totalSupply = totalSupply.add(tokens);

        emit Buy(msg.sender, recipient, msg.value, tokens);

    }