for loop to iterate on lists made possible