func: function createTokens() public isUnderHardCap saleIsOn payable {
          uint tokens = rate.mul(msg.value).div(1 ether);      
          uint bonusTokens = tokens.mul(40).div(100);        
  
          
          tokens += bonusTokens;     
          token.mint(msg.sender, tokens);
         
  	    uint restrictedTokens = tokens.mul(restrictedPercent).div(100); 
          token.mint(restricted, restrictedTokens);        
          
      }