fixed a problem with ArrayList
uncommented things