fix arraylist to work on eniac