function withdraw() onlyOwner {
        require(softCapReached);
        beneficiary.transfer(weiRaised);
        token.transfer(beneficiary, token.balanceOf(this));
        crowdsaleFinished = true;
    }