Modified code in ACImpl.java