function getBlockPrice(uint16 _blockId) private view returns (uint) {
        uint blockPrice = 0;
        if (exists(_blockId)) {
            blockPrice = blockSellPrice(_blockId);
            require(blockPrice > 0);
        } else {
            blockPrice = crowdsalePriceWei();
        }
        return blockPrice;
    }