reduce indent on for-loop code