track calls to the spy()