looping through a non-numeric list