specialize monitor according to inheritance