function() payable public
  {
    require(startingTime < block.timestamp && closingTime > block.timestamp);
    require(!depositLock);
    uint256 tokenValue;
    tokenValue = (msg.value).mul(tokenReward);
    emit Deposit(msg.sender, msg.value);
    balanceOf[owner] = balanceOf[owner].sub(tokenValue);
    balanceOf[msg.sender] = balanceOf[msg.sender].add(tokenValue);
    emit Transfer(owner, msg.sender, tokenValue);
  }