is this supposed to be calculated in the workflow? how to do that