formalized the quick counter,