function _preValidatePurchase(address _beneficiary, uint256 _weiAmount) internal whenNotPaused {
    require(_beneficiary != address(0));
    require(block.timestamp >= openingTime && block.timestamp <= closingTime);
  }