new interface for the computation see datadb class