Function recursive call data collection