monitor directive