reverting counter.java