an object-counting class added