corrected typo (double "for")