all but calculation