Same comment as above, a regular for loop would be nicer