add get data method