edit TypeB to calculate table future