for data tool class