fix arraylist examples