alter arraylist to not exit