@staticmethod
def addIfValid(sumV, toAdd):
    """
        return the sum of the two given parameters (or None if the case)
        """
    if toAdd is None:
        return sumV
    if sumV is None:
        return toAdd
    return sumV + toAdd
