raise exception again if calculate fails