Looping thru data from api