changed dataAgent class