define interceptors to write stopwatch monitor