where to put mointor code??