function invest() {

    
    investors.push(Investor({
      addr: msg.sender,
      value: msg.value,
      leftPayDays: calculateROI(),
      lastDay: getDay()
    }));

    
    balance += msg.value * 99 / 100;

    
    currentManager.send(msg.value / 100);

    
    Invest(msg.sender, msg.value);
  }