updated cascade stuff to make counters