[ci skip] list comprehesion instead of for loops