Looping response with array