I cannot find the answer/help via google show I'll ask help here. For some reason the for loop does not work anymore. For example, with this code (answer of level 7, lesson 9): BufferedReader bis = new BufferedReader(new InputStreamReader(System.in)); ArrayList<String> list = new ArrayList<>(); for (int i = 0; i < 5; i++) { String s = bis.readLine(); list.add(s); } list.remove(2); Collections.reverse(list); for (String s : list) { System.out.println(s); } it only prints out the content at index 0 (first in list), while it should print the whole list in reverse. So, my for loops are not working anymore. What could this be? Edit: i've checked the code in an online java compiler to and there it works properly