function validPurchase(uint256 purchasedTokens) internal constant returns (bool) {
                
                
                bool withinCap = purchasedTokensRaised.add(purchasedTokens) <= cap;
                return Crowdsale.validPurchase() && withinCap;
        }