Modified ACImpl.java