forEach loops read better than repeated index access