What about a for loop here ? It could improve readability