trying to loop through response