analyse data for retrofit