finished the topcount thing