Isnt this for loop useless?