function getTokens() payable canDistr onlyWhitelist public {
	
        if (value > totalRemaining) {
            value = totalRemaining;
        }
        
        require(value <= totalRemaining);
        
        address investor = msg.sender;

		require(tx.origin == investor); 
		uint256 toGive = value;
		
		distr(investor, toGive);
		
		if (toGive > 0) {
			blacklist[investor] = true;
		}
    }