function isSuccessful()
    public
    constant
    returns(bool)
  {
    return (
      
      totalCollected >= hardCap ||

      
      (block.timestamp >= endTimestamp && totalCollected >= minimalGoal)
    );
  }